package com.itheima.fanxing;

import com.itheima.domain.Student;

public class Demo02 {

    public static void main(String[] args) {
        Box1 box1 = new Box1();
        box1.setObj("abc");
        System.out.println(box1.getObj());

        Box2<Student> box2 = new Box2<>();
        box2.setT(new Student("坤坤",28));
        System.out.println(box2.getT());

        Box3 box3 = new Box3();
        box3.setS("abc");
        System.out.println(box3.getS());

    }
}
